Note on Replication files for Joo & Mukherjee "Rebel Command and Control, Time, and Rebel Group Splits" (MS# GINI-2019-1752.R1)

The analysis was done both in STATA (version 16) and R (version 3.6.0 (2019-04-26) -- "Planting of a Tree")

Files included in the Replication Folder:

* This READ ME text file. 

* Files Associated with STATA analyses
1. II_Joo_Mukherjee.dta -- The main .dta dataset used for the paper. Used for both the main paper and the online appendix .do files. 
2. II_Joo_Mukherjee_influence_data.dta  -- The .dta dataset that includes information on influencial observations. Used for online appendix .do file. 
3. II_Joo_Mukherjee_main.do -- The .do file for Tables 1-2 in the main paper. 
4. II_Joo_Mukherjee_onlineappendix.do -- The .do file for most tables in the online appendix. 
5. joo_mukherjee_main_stata_output.log -- The STATA log file for II_Joo_Mukherjee_main.do.
6. joo_mukherjee_onlineappendix_stata_output --The STATA log file for II_Joo_Mukherjee_onlineappendix.do.


* Files Associated with R program analyses
1. II_Joo_Mukherjee_12.dta -- The main .dta dataset in Stata 12 version for compatability with R.   
2. split_maxyear.dta -- The .dta dataset that codes the maximum rebel age for each group. 
3. split_cent.dta -- The .dta dataset that codes each rebel group's unique level of centralizatoin. 
4. vcov.csv -- File that has variance covariance information for plotting Figures 1 and 3. 
3. vcov_fig2.csv -- File that has variance covariance information for plotting Figure 2. 
4. vcov_aut.csv -- File that has variance covariance information for plotting Figure A1. 
5. vcov_conflict.csv -- File that has variance covariance information for plotting Figure Figure A2. 
6. II_Joo_Mukherjee.R -- The R file that includes codes for replicating Figures 1-3 in the main paper. 
7. II_Joo_Mukherjee_onlineappendix.R -- The R file that includes codes for replicating Figures A1-6 and Tables 9-10, 12-13.
8. joo_mukherjee_main_R_output.log -- The R log file for II_Joo_Mukherjee.R.
	--- This log file appears 'blank' because the figures are saved as pdf files in the "Figure_files" folder discussed below (item #10).
9. joo_mukherjee_onlineappendix_R_output.log -- The R log file for II_Joo_Mukherjee_onelineappendix.R.
10. Figure_files -- The folder that contains the pdf file version of all Figures reproduced by R codes II_Joo_Mukherjee.R and II_Joo_Mukherjee_onelineappendix.R.  



Replication Instructions

1. Open the II_Joo_Mukherjee_main.do file and run the whole code. 
	--- Please run the whole code in one run. 
	--- This file replicates Tables 1-2 in the main paper. 

2. Open the II_Joo_Mukherjee_main.do file and run the whole code. 
	--- Please run the whole code in one run. 
	--- This file replicates Tables A1, A4-8, and A11 in the Online Appendix.

3. Open the II_Joo_Mukherjee_main.R file, set the working directory, and run the whole code. 
	--- Please run the whole code in one run. 
	--- This file replicates Figures 1-3 in the main paper. 

4. Open the II_Joo_Mukherjee_onlineappendix.R file, set the working directory, and run the whole code. 
	--- Please run the whole code in one run. 
	--- This file replicates Figures A1-A6 and Tables A9-10, A12-13 in the Online Appendix. 



End of text.
